package question1;

public class Worker {
    private String name;
    private String department;
    private String ID;

    public Worker() {
    }

    public Worker(String name, String department, String ID) {
        this.name = name;
        this.department = department;
        this.ID = ID;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDepartment() {
        return department;
    }

    public void setDepartment(String department) {
        this.department = department;
    }

    public String getID() {
        return ID;
    }

    public void setID(String ID) {
        this.ID = ID;
    }
}
